package com.demo.richText.service;

import com.demo.richText.pojo.Article;
import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.richText.pojo.vo.ReShowArticle;
import com.demo.richText.pojo.vo.ToSaveArticle;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小王八
 * @since 2022-09-05
 */
public interface ArticleService extends IService<Article> {
   /**
     *保存文章
     * @param toSaveArticle
     * @return String
     * @author zhangjunrong
     * @date 2022/9/5 9:06
     */
   String toSaveArticle(ToSaveArticle toSaveArticle);

   /**
     *展示文章信息
     * @param articleId 文章id
     * @return ReShowArticle
     * @author zhangjunrong
     * @date 2022/9/5 9:54
     */
   ReShowArticle toShowArticle(Long articleId);
}
